<div class="" ng-init="$ctrl.init()"><div class="input-group"><input id="{{$ctrl.id}}" type="file" class="form-control" accept="{{$ctrl.accept}}" ngf-select="$ctrl.selectFile($files)" data-files="file.files"> <button class="btn btn-outline-primary" id="{{$ctrl.id}}_addon" ng-click="$ctrl.uploadFile()" type="button">Upload</button></div></div>